package Work3;

public class Techer {
    String name;
    int age;
    String post;
    double salary;
    double graduate;
    public void introduce(){
        System.out.println("Techer{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", post='" + post + '\'' +
                ", salary=" + salary +
                ", graduate=" + graduate +
                '}');
    }

    public Techer(String name, int age, String post, double salary, double graduate) {
        this.name = name;
        this.age = age;
        this.post = post;
        this.salary = salary;
        this.graduate = graduate;
    }
}
